<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>首页</title>
	<link rel="stylesheet" type="text/css" href="../css/basic.css">
	<link rel="stylesheet" type="text/css" href="../css/main.css">
	<script type="text/javascript" src="../js/jquery-1.11.0.min.js"></script>
	<script type="text/javascript" src="../js/main.js"></script>
</head>
<body>
	<div class="g-warp clearfix">
		<!-- hide -->
		{{include './comm/mune.art'}}
		<div class="g-main">
			<div class="g-cont">
				<h2 class="m-tt">用户编辑</h2>
				<div class="m-list">
            <div class="item"><label for="">用户名头像</label>
							<div class="file-box sel" style='background-image: url({{baseUrl}}{{data.upic}}); background-size:100%;'>
								<input class="j_file" value="" id="j_pic" name="url_set[]" type="file">
								<span class="close">x</span>
							</div>
						</div>
            <div class="item"><label for="">用户名：</label><input id="j_uname" class="m-input" type="text" value="{{data.uname}}"></div>
            <div class="item"><label for="">年龄：</label><input id="j_age" class="m-input" type="text" value="{{data.age}}"></div>
            <div class="item">
              <label for="">用户类型：</label>
              <select name="" id="j_type" class="m-input" disabled>
                <option value="boss" {{data.utype==="boss"?"selected":""}}>boss</option>
                <option value="seeker" {{data.utype==="seeker"?"selected":""}} >seeker</option>
              </select>
            </div>
            {{if data.utype==="boss"}}
              <div class="item"><label for="">公司名称</label><input class="m-input" id="j_company" type="text" value="{{data.company}}" ></div>
            {{else}}
              <div class="item"><label for="">目前状态</label>
                <!-- <input class="m-input" id="j_state" type="text"  value="{{data.ustate}}"> -->
                  <select name="" id="j_state" class="m-input" name="ustate" >
                    <option value="在职" {{data.ustate==="在职"?"selected":""}}>在职</option>
                    <option value="离职" {{data.ustate==="离职"?"selected":""}}>离职</option>
                  </select>
              </div>
            {{/if}}
            
            <div class="tem"><label for=""></label>
              <button id='J_btn' data-uid="{{data.uid}}" data-type="edit" class="m-btn">提交修改</button>
            </div>
        </div>
			</div>
		</div>
	</div>
</body>
</html>